package com.oig.sys.base.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Schema
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HsGoodsVo {

    @Schema(description = "hsCode")
    private String hsCode;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "英文名称")
    private String enName;
    @Schema(description = "商品描述")
    private String goodsDesc;
    @Schema(description = "单位")
    private String unit1;
    @Schema(description = "单位2")
    private String unit2;

    @Schema(description = "关税收取方式 0-从价 1-从量")
    private String tariffType;
    @Schema(description = "进口最惠国关税税率")
    private BigDecimal offTariffRate;
    @Schema(description = "进口普通关税税率")
    private BigDecimal commTariffRate;
    @Schema(description = "进口暂定税率")
    private BigDecimal provTaxRate;

    @Schema(description = "增值税税率")
    private BigDecimal vatRate;

    @Schema(description = "进口消费税税率")
    private BigDecimal cmpTaxRate;

    @Schema(description = "出口税率")
    private BigDecimal exportRate;
    @Schema(description = "出口暂定税率")
    private BigDecimal exportProvTaxRate;
    @Schema(description = "出口退税率")
    private BigDecimal rebateRate;


    @Schema(description = "监管条件")
    private String monitor;
    @Schema(description = "检疫类别")
    private String iqType;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "网站更新日期")
    private String gwUpdateDate;

    @Schema(description = "状态")
    private String status;
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(description = "所属组织id")
    private Integer orgzId;
    @Schema(description = "所属组织名")
    private String orgzName;

    @Schema(description = "海关商品明细")
    private List<HsGoodsTariffVo> hsGoodsTariffList;

}
